import json

def test():
    result = {
        "code": 0,
        "message": "\u64cd\u4f5c\u6210\u529f\u3002",
        "data": {
            "id": 448460779376837,
            "nickName": "\u5218\u6811\u8f89",
            "avatarFullName": "https://csfile.beijingliuli.top/upload/user-avatars/2022/12/11/8.png",
            "age": 29,
            "sexId": 1,
            "isRealNameCertified": True,
            "isTeacher": True,
            "isParent": False,
            "provinceId": 110000000000,
            "cityId": 110100000000,
            "districtId": 110101000000,
            "position": "\u5317\u4eac\u5e02-\u5e02\u8f96\u533a-\u4e1c\u57ce\u533a",
            "idNumber": "14230***********3X"
        }
    }

    print(result)
    # 使用json.dumps转换为JSON格式字符串，并打印输出
    formatted_string = json.dumps(result, ensure_ascii=False, indent=4)
    # print(formatted_string)

if __name__ == '__main__':
    test()